# 基础镜像
FROM openjdk:8-jre
# author
MAINTAINER Dempsey

# 复制jar文件到路径
COPY ./target/modules-user-1.0-SNAPSHOT.jar app.jar
# 启动认证服务
ENTRYPOINT ["java","-jar","app.jar"]